package com.bytezero.mapper;


import com.bytezero.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: Bytezero_zhengLei
 * @Date: 2024/7/24 14:47
 * @Project_Name: UserMapper.java
 * @Email: 420498246@qq.com
 * @Description:
 * @TODO:
 */

@Mapper
public interface UserMapper{

    void saveUser(User user);

    void deleteUser(Long id);

    void updateUser(User user);

    User queryUserById(@Param("id") Long id);

    List<User> queryUserByIds(@Param("ids") List<Long> ids);
}
